|
Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
|
Dhcpv6ClientProcess handles the DHCPv6 client process. More...
Public Member Functions | |
| void | enableDhcpClient (Dhcpv6::EDhcpv6ClientEnabled, string, string) |
| Enable Dhcp Client process. More... | |
| bool | isDhcpClientEnabled () |
| Check if DHCP Client is enabled. More... | |
| void | dhcpSucceed (QString, string, ip, int) |
| This event is emitted when dhcp succeeds. More... | |
| void | dhcpFailed (QString, string) |
| This event is emitted when dhcp fails. More... | |
Public Member Functions inherited from Process | |
| Device | getOwnerDevice () |
| Returns the device for this process. More... | |
Dhcpv6ClientProcess handles the DHCPv6 client process.
| void Dhcpv6ClientProcess::dhcpFailed | ( | QString | , |
| string | |||
| ) |
This event is emitted when dhcp fails.
| deviceName,the | device name in QString format |
| portName,the | port name in string format |
IPC event.
| void Dhcpv6ClientProcess::dhcpSucceed | ( | QString | , |
| string | , | ||
| ip | , | ||
| int | |||
| ) |
This event is emitted when dhcp succeeds.
| deviceName,the | device name in QString format |
| portName,the | port name in string format |
\newip, new ip address
\prefix, prefix info
IPC event.
| void Dhcpv6ClientProcess::enableDhcpClient | ( | Dhcpv6::EDhcpv6ClientEnabled | , |
| string | , | ||
| string | |||
| ) |
Enable Dhcp Client process.
| enable,enum<Dhcpv6::EDhcpv6ClientEnabled> | eClientEnabled_No = 0, eClientEnabled_ViaDhcp = 1, eClientEnabled_ViaNd = 2 |
| portName,port | name |
| prefixName,prefix | name |
| bool Dhcpv6ClientProcess::isDhcpClientEnabled | ( | ) |
Check if DHCP Client is enabled.
| bool,return | true if enabled and false if not |